package com.dmooo.yxmmerchant.fragment.contract;

import com.common.mvpbase.BaseView;
import com.common.net.listener.HttpOnNextListener;
import com.dmooo.yxmmerchant.domain.BalanceRecordBean;
import com.dmooo.yxmmerchant.domain.StatisticBean;

import java.util.List;

public class ServiceContract {
    public interface ServiceView extends BaseView{
        void showBalanceRecord(List<BalanceRecordBean.Item> list);
        void showDrawRecord(List<BalanceRecordBean.Item> list);
        void showGoodsMallStatistic(StatisticBean bean);
        void showServiceStatistic(StatisticBean bean);
    }
    public interface ServiceMdl{
        void getBalanceRecord(String token, int page, HttpOnNextListener listener);
        void getDrawRecord(String token,int page,HttpOnNextListener listener);
        void getGoodsMallStatistic(String token,HttpOnNextListener listener);
        void getServiceStatistic(String token,HttpOnNextListener listener);
    }
    public interface ServicePtr{
        void getBalanceRecord(String token, int page);
        void getDrawRecord(String token,int page);
        void getGoodsMallStatistic(String token);
        void getServiceStatistic(String token);
    }
}
